package com.zcxy.fast.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zcxy.fast.bean.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import com.fasterxml.jackson.annotation.JsonFormat;
import javax.validation.constraints.NotEmpty;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 组件明细配置表
 *
 * @author zcc
 * @email  860474958@qq.com
 * @date   2021-01-21 15:07:23
 */
@Data
@TableName(value ="sys_componet_item",autoResultMap = true)
@ApiModel(value = "SysComponetItem", description = "组件明细配置表")
public class SysComponetItem extends BaseEntity {

    @TableId(type = IdType.UUID)
    @Length(max = 50, message = "id 超出最大长度：50")
    @ApiModelProperty(value = " 主键", required = false)
    private String id ;

    @Length(max = 50, message = "columnName 超出最大长度：50")
    @ApiModelProperty(value = " 列名称", required = false)
    private String columnName ;

    @Length(max = 255, message = "columnComment 超出最大长度：50")
    @ApiModelProperty(value = " 列描述", required = false)
    private String columnComment ;

    @Length(max = 255, message = "javaname 超出最大长度：255")
    @ApiModelProperty(value = " 展示属性", required = false)
    private String javaname ;

    @Length(max = 255, message = "needShow 超出最大长度：255")
    @ApiModelProperty(value = " 是否展示0不展示1展示", required = false)
    private String needShow ;

    @ApiModelProperty(value = " 排序", required = false)
    private Integer sort ;

    @Length(max = 50, message = "sysComponentId 超出最大长度：50")
    @ApiModelProperty(value = " 组件id", required = false)
    private String sysComponentId ;



}
